<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title> 添加工作报告  <{$smarty.const.WEB_NAME}></title>
	<link rel="stylesheet" type="text/css" href="./skin/<{$smarty.const.TPL_NAME}>/style.css" />
	<script type="text/javascript" src="./skin/<{$smarty.const.TPL_NAME}>/comm.js"></script> 
</head>
 <body>




	<table width="100%" border="1" cellspacing="0" bordercolor="#cfcfcd" cellpadding="0" class="tableList tip_bug">
	  <tr> 
		<th class="h2">添加工作报告</th>
		<th width="200"><a href="?q=wordSummaryList">返回</a></th>
	  </tr>
	</table>
      <{if $content != ""}><b>本周工作报告</b><br /><div><{$content_info}></div><{/if}>
	  <{if $plan != ""}><br /><b>下周工作计划</b><br /><div><{$plan_info}></div><{/if}>
<form method="post" name="from1" action="?q=summaryValid" onsubmit="return testSubmit()">


	<table width="98.2%" border="1" cellspacing="0" bordercolor="#cfcfcd" cellpadding="0" class="maxLeft">
	<tr>
	    <th width="100">本周工作报告</th>
		<td> <textarea name="content" id="content" class="maxText"><{$content}></textarea></td>
	</tr>
	<tr>
		<th width="100">下周工作计划</th>
		<td><textarea name="plan" id="plan" class="maxText"><{$plan}></textarea></td>
	</tr>
	<tr>
	  <td align="center" colspan="2">    
	  <input type="submit" class="submit" value="提交" />
	  <input type="button" class="submit" value="返回" onclick="location.href='?q=wordSummaryList'" />
	  </td>
	</tr>
</table>






</form>




 <script type="text/javascript">
 <!--
//验证工作报告
function testSubmit(){
 var a = $('content').value;
 var b = $('plan').value;
 if(a.Trim() == ""){
   window.alert("本周工作报告不能为空");
   $('content').select();
   return false;
 }
 if(b.Trim() == ""){
   window.alert("下周工作报告不能为空");
   $('plan').select();
   return false;
 }
}
 //-->
 </script>

   </div>

 </body>
</html>
